﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ADR.MAG.ViewModels
{
    public class ContactModel
    {
        [Required]
        [DisplayName("Name")]
        public string Name { get; set; }

        [Required]
        [DataType(DataType.EmailAddress)]
        [DisplayName("Email address")]
        public string Email { get; set; }

        [Required]
        [DisplayName("Tel")]
        public string Tel { get; set; }

        [Required]
        [DisplayName("Subject")]
        public string Subject { get; set; }

        [Required]
        [DisplayName("Body")]
        public string Body { get; set; }
    }
}
